package cn.edu.nju.software.cdiy.dao;

import cn.edu.nju.software.cdiy.bean.Admin;

public interface AdminDao {

	public  Admin login(String signInName, String password);
			
	//Transtion
	public  Admin updateAdmin(Admin admin);
	//Transtion
	public Admin updateRegistor(Admin admin);
	
	public Admin getAdminById(Long id);
	
	public void deleteMainBoard(long id);
	
}
